
<%@ page language="java" errorPage="/CustomError.jsp"
	pageEncoding="UTF-8"%>
<%
	request.getRequestDispatcher("/jsp/BaseInclude.jsp").include(
			request, response);
%>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>

<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html:html>
	<head>
		<base href="<%=basePath%>">

		<meta http-equiv="Content-Type"
			content="text/html; charset=ISO-8859-1">
		<title>Upload</title>
	</head>
	<body>
		<html:form action="/upload" method = "post" enctype="multipart/form-data">
			<div id="main">
				<jsp:include page="Logo.jsp"></jsp:include><div id="top-blue-line"></div>
			</div>
			<div id="main">
				<div id="margin-top">
					<div id="content">
						<div id="wid-228">

							<fieldset
								style="float: none; width: 220px; padding: 15px 0px 14px 0px; text-align: left; border: #009fbf 1px solid; margin-bottom: 18px; height: auto;">
								<legend
									style="COLOR: #108010; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; FONT-SIZE: 8pt; FONT-WEIGHT: normal; padding-left: 10pt; TEXT-DECORATION: none">
									<b><i>UPLOAD:</i>
									</b>
								</legend>
								<table border="0" align="center" cellpadding="10" width="980"
									cellspacing="0">
									<tr>
										<td>
											<bean:message key="FileType" />
										</td>
										<td colspan="1">
											TXT
											<html:radio  property="fileType" value="txt" />
										</td>
										<td colspan="1">

											XLS
											<html:radio  property="fileType" value="xls" />
										</td>
										<td colspan="1">
											PDF
											<html:radio  property="fileType" value="pdf" />
										</td>
									</tr>
									<tr>
									</tr>
									<tr>
									</tr>
									<tr>
										<td>
											<bean:message key="uploadFile" />
										</td>

										<td colspan="3">
											<html:file property="upldFileName" styleClass="txtinput"
												alt="Upload File Name"></html:file>
												<html:hidden property="fileName"/>
										</td>
									</tr>
									<tr>
									</tr>
									<tr>
										<td>
										</td>
										<td>
										</td>
										<td align="right" colspan="4">
											<html:submit property="submit" styleClass="submit"
												style="cursor:pointer">
											</html:submit>
										</td>
									</tr>
								</table>

							</fieldset>

						</div>
					</div>
				</div>
			</div>
	<html:hidden property="fileType"/>
	

		</html:form>

	</body>
	
	
</html:html>